package com.mlnx.work.service.iml;

import com.mlnx.work.dao.mysql.ProjectMemberMapper;
import com.mlnx.work.entity.ProjectMember;
import com.mlnx.work.service.ProjectMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author name: amanda.shan
 * create time: 2020-12-30 16:29:51
 */
@Service
public class ProjectMemberServiceIml extends BaseService<ProjectMemberMapper, ProjectMember> implements ProjectMemberService {

    @Autowired
    @Override
    public void setBaseMapper(ProjectMemberMapper baseMapper) {
        super.setBaseMapper(baseMapper);
    }

    @Override
    public void saveBatch(Integer dirId, Integer[] memberIds) {
        baseMapper.insertBatch(dirId, memberIds);
    }
}

